package com.yxw.springmvc.userBehavior.util;

/**
 * Created by hp on 2016/9/21.
 */
public class PasswordUtil {
    private static final String SALT = "aienbiei22&*#*(@ieizewbxwerq?";

    public static String genMD5Password(String account, String password) {
        String plainText = account + password + SALT;

        return DigestUtils.encodeMD5(DigestUtils.encodeMD5(plainText, false), false);
    }
}
